#include <stdlib.h>
#include <stdio.h>
#include <cv.h>

int main(int argc, char* argv[])
{
    IplImage* img = 0;
    img = cvLoadImage(argv[1]);

    printf("This image has dimensions of %dx%d.\n", img->width, img->height);

    return 0;
}
